<!DOCTYPE html>

<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>Good Thymes Virtual Grocery</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<body>
<h1>this welcome Page </h1>
<p th:text="${welcome}">Welcome to our Shenzhen!</p>
<!--  下面是动态路径 -->
<a th:href="@{/getUser}"> 用户页面</a>

<a th:href="@{/userInfo(id=${user.id})}"> 用户详细信息</a>
</body>
</html>